package com.example.utils.MQ;

import org.springframework.amqp.core.Queue;
import org.springframework.amqp.core.QueueBuilder;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class UploadBean {

    public static final String LWH_UPLOAD_QUEUE_NAME = "LWH_UPLOAD_QUEUE_NAME";

    @Bean
    Queue UPLOAD_QUEUE_NAME(){
      return QueueBuilder.durable(UploadBean.LWH_UPLOAD_QUEUE_NAME).build();
    };

}
